package ink.metoo.gude.module.security.domain

import ink.metoo.gude.module.security.domain.ddl.Role
import org.springframework.security.core.GrantedAuthority

class SimpleGrantedAuthority(val role: Role) : GrantedAuthority {

    override fun getAuthority() = role.name!!

}